package com.perfma.xtest.file;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;

/**
 * @author: junhui.si
 * @date: 2023-11-02 18:06
 **/
public class LogTest {
    public static void main(String[] args) throws Exception {
        BufferedReader br = null;
        String line;
        br = new BufferedReader(new InputStreamReader(new FileInputStream("/Users/sijunhui/Downloads/log/xsea/log.log")));
        while ((line = br.readLine()) != null) {
            int maxSize;
            if (line.contains("size2")) {
                maxSize = 19;
            } else {
                maxSize = 10;
            }
            if (line.length()>maxSize){
                System.out.println(line);
            }
        }
    }
}

